package gui.catalogues.telephones.dto;

import java.util.EventObject;

public class TelephoneTypesDTO extends EventObject {

	/*
	 * Variables declaration
	 */
	private int idType;
	private String desc;

	// the source is going to be the PersonFormPanel
	public TelephoneTypesDTO(Object source) {
		super(source);
	}

	// Will overload the constructor
	public TelephoneTypesDTO(Object source, int idType, String desc) {
		super(source);
		this.idType = idType;
		this.desc = desc;
	}

	/**
	 * @return the idType
	 */
	public int getIdType() {
		return idType;
	}

	/**
	 * @return the desc
	 */
	public String getDesc() {
		return desc;
	}
}